﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">

  <class name="NORTHWINDModel.DTO.Customer, T4DawnBO" table="Customers" lazy="false" >
  
    <id name="CustomerID" >
      <generator class="assigned" />
    </id>
    <property name="CompanyName"/>
    <property name="ContactName"/>
    <property name="ContactTitle"/>!
    <property name="Address"/>
    <property name="City"/>
    <property name="Region"/>
    <property name="PostalCode"/>
    <property name="Country"/>
    <property name="Phone"/>
    <property name="Fax"/>
    <bag name="Orders" inverse="true" lazy="true" cascade="all">
      <key column="CustomerID"/>
      <one-to-many class="NORTHWINDModel.DTO.Order, T4DawnBO"/>
    </bag>
  </class>
</hibernate-mapping>